$c1:#ed145b;
body > div {
    width: 100%;
    > div{
        margin: 0 auto;
        width: 960px;
        
    }
}
html body {
    height: 100%;
    background: #fff;
  }
.head-top-box{
    height: 100px;
    width: 100%;
    border: 1px solid #ccc;
    background: #FEFEFE;
}
.head-top{
    height: 28px;  
    width: 960px;
    margin: 0 auto;
    .top_left{
        >li{
            line-height: 28px;
            color: #6c6c6c;
            font-size: 12px;
            float: right;
            span{
                margin: 0 5px;
            }
            span.cart_name{
                color: $c1;
            }
            a{
                font-size: 12px;
                color: #6c6c6c;
                &:hover{
                    color: $c1;
                }
            }
        }
    }
    .top_left_hide{
        height: 28px;
        float: right;
        display: none;
        span,p,i{
            line-height: 28px;
            float: left;
            font-size: 14px;
            color: #666;
        }
         p{
          margin: 0 5px ;
          color: $c1;
        }
        i{
        
            a{
                color: $c1;
                margin: 0 3px;

            }
        }

    }
}
.head-bottom{
    width: 960px;
    margin: 0 auto;
    background: #bfa;
    img{
        float: left;
    }
    .head_schedule{
        width: 377px;
        height: 48px;
        float: right;
        background: url(http://f0.jmstatic.com/static_cart/dist/20191009_1/images/order_path.png) no-repeat;
        background-position: -2px -2px;
    }

}

.container-show{
    display: none;
    padding: 50px 70px 70px 70px;
    .show_left{
        float: left;
    }
    .show_right{
        float: left;
        margin-left: 50px;
        >h2{
            font-size: 28px;
            font-weight: 400;
            color:#c9c9c9 ;
            margin-bottom: 15px;
        }
        >p{
            font-size:12px;
            line-height: 33px;
            height: 33px;
            color: #999;
            display: block;
            button{
                width: 98px;
                height: 32px;
                line-height: 32px;
                font-size: 16px;
                display: inline-block;
                color: #fff;
                text-align: center;
                background: $c1;
                line-height: 28px;
                text-decoration: none;
                font-family: "Microsoft YaHei","Microsoft JhengHei",STHeiti,MingLiu
            }
        }
        >div{
            margin-top: 15px;
            width: 298px;
            height: 24px;
            border:1px solid #ccc ;
            input{
                float: left;
                border: none;
                width: 270px;
                height: 24px;
                line-height: 24px;
                outline: 0;
                color: #000;
                background: none;
                text-indent: 5px;
                font-size: 12px;
            }
            button{
                width: 24px;
                height: 24px;
                background: url(../images/download.jpg);
            }
        }

    }
}
.container-hide{
    padding: 50px 0;
    .container-top{
        margin-top: 5px;
        height: 50px;
        .top_left{
            float: left;
            >p{
                line-height: 18px;
                font-size: 14px;
                >span{
                    margin: 0 5px;
                    width: 18px;
                    height: 18px;
                    float: left;
                    background: url(../images/icon.png);
                    background-position: -8px -5px;
                }
            }
        }

        .top_right{
            span{
                font-size: 12px;
                line-height: 25px;
                float: right;

                i{
                    float: left;
                    width: 26px;
                    height: 25px;
                    margin-right: 5px;
                    margin-left: 5px;
                    background: url(../images/download.png);
                    background-position: 0 -177px;
                }                
            }
            span:nth-child(2) i{
                background-position: 0 -142px;
            }
            span:nth-child(3) i{
                background-position: 0 -107px;
            }
        }
    }
    .container-center{

        .center_top{
            table{
                width: 100%;
                // margin: 10px 0 0;
                font-size: 12px;

                border: 1px solid #eee;
                thead{
                  
                    height: 25px;
                    line-height: 25px;
                    background: #FAFAFA;
                    border: solid #ccc 1px;
                    >tr{
                        
                        height: 34px;
                        >th{
                            width: 12%;
                            vertical-align: middle;
                            padding: none;
                        }
                        >th:nth-child(1){    
                            width: 56%;
                            div{
                                height: 28px;
                                border-left: 10px $c1 solid;
                                text-align: left;
                                padding-top: 7px;
                                input{
                                    margin-top: 7px;
                                    float: left;
                                }
                                h2{
                                    float: left;
                                }
                            }
                        }
                       
                    }
                 
                }
                >tbody{
                 >tr{    
                     border: 1px solid #ddd;        
                    >td:nth-child(1){
                        position: relative;
                        >div:first-child{
                            width: 30px;
                            position: absolute;
                            input{
                                margin: 40px 0 0 8px;
                            }
                        }
                        >div:last-child{
                            margin-left: 30px;
                            width: calc(100%-30px);
                            padding: 20px 0 0 11px;
                            float: left;
                            .one_a{
                                width: 60px;
                                height: 60px;
                                overflow: hidden;
                                margin: 0 10px 20px 0;
                                overflow: hidden;
                                float: left;
                                img{
                                    height: 60px;
                                    margin-left: calc( -50% - 10px);
                                }

                            }
                            .two_a{
                                font-size: 12px;
                                line-height: 16px;
                                // display:-webkit-box; 
                                // -webkit-box-orient:vertical;
                                // -webkit-line-clamp:2;
                                // margin-bottom: 5px; 
                            }
                            .two_a:hover{
                                
                                color: $c1;
                            }
                            >p{
                                margin-top: 10px;
                                line-height: 22px;
                                color: #999;
                                font-size: 12px;
                            }
                        }

                    }
                    >td:nth-child(2){
                        padding:30px 20px;
                        vertical-align: top;
                        >div{
                            >p{
                                text-align: center;
                                margin-top: 5px;
                                text-align: center;
                            }
                            >p:last-child{
                                color: #aaa;
                                text-decoration: line-through;
                            }
                        }
                    }
                    >td:nth-child(3){
                        vertical-align: top;                     
                        padding:30px 20px;
                        button{
                            color: #333;
                            cursor: pointer;
                            font-size: 16px;
                            border: 1px solid #e0e0e0;
                            float: left;
                            width: 25px;
                            height: 25px;
                            line-height: 20px;
                            text-align: center;
                            background: #fff;
                            

                        }
                        input{
                        width: 20px;
                        height: 21px;
                        border: none;
                        float: left;
                        border-top: 1px solid;
                        border-bottom: 1px solid;
                        border-color: #e0e0e0;
                        font-size: 12px;
                        text-align: center;
                        }
                    }
                    >td:nth-child(4){
                        padding:30px 20px;
                        vertical-align: top;
                        text-align: center;  
                        p{
                            color: $c1;
                            margin-bottom: 5px;
                        }
                        span{
                            
                            font-size: 12px;
                        }
                    }
                    >td:nth-child(5){
                        vertical-align:top;
                        padding: 30px 29px ;
                        button{
                            width: 18px;
                            height: 18px;
                            border: none;
                            display: block;
                            cursor: pointer;
                            background: url(../images/icon.png) center;
                            background-position: 24px -27px;
                            // background-position: -7px -27px;

                        }
                    }
                 }       
                }
                >tfoot{
                    td{
                        height: 32px;
                        border: 1px solid #ddd;
                        background-color: #FAFAFA;
                        >p{
                            float: right;
                            font-size: 12px;
                            line-height: 32px;
                            color: #999;
                            margin-right: 10px;
                            span{
                                height:32px ;
                                font-size: 16px;
                                line-height: 32px;
                                color: $c1;
                                font-weight: 800;
                            }
                        }
                        }

                }

            }
            >div{
                margin-top: 20px;
                background: #FAFAFA;
                border: 1px solid #ddd;
                width: 960px;
                height: 50px;             
                font-size: 12px;
                input{
                    float: left;
                    margin: 18px 5px 0 15px;
                }
                label{
                    height: 50px;
                    line-height: 50px;
                    margin-right: 20px;
                }
                >a{
                    cursor: pointer;
                    &:hover{
                        color: $c1;
                    }
                }       
                >i{               
                    margin: 0 5px;
                }     
                >div{
                    height: 100%;
                    float: right;
                    >p{
                        float: left;
                        line-height: 50px;
                      >span{
                        color: $c1;
                        font-size: 16px;
                        margin: 0 5px;
                        font-weight: 600;
                      }  
                    }
                    >button{
                        width: 145px;
                        height: 100%;
                        margin: 0 0 0 10px;
                        font-size: 18px;
                        text-align: center;
                        border: none;
                        color: #fff;
                        background: $c1;
                        border-radius: 5%;
                    }
                }


            }
        }
    }
}




.recommend{
    height: max-content;
    margin-bottom: 50px;
    .recommend_top{
        height: 30px;
        line-height: 30px;
        border-bottom: 2px #ccc solid;
        margin-bottom: 15px;
        p{
            height: 30px;
            line-height: 30px;
            color: #ed145b;
            font-size: 14px;
            border-bottom: 2px solid #ed145b;
            text-decoration: none;      
            margin-top: -1px;
            display: inline-block;
            position: relative;
            top: -1px;
        }
    }
    .recommend_center{
        >ul{
            >li{
                float: left;
                width: 160px;
                padding: 15px 16px;
                >div{
                    >a{
                        height: 160px;
                        width: 160px;
                        display: block;
                        overflow: hidden;
                        >img{
                           height: 160px; 
                           margin-left: -110px;
                        }
                    }
                    >p{
                        height: 35px;
                        margin-top: 5px;
                        font-size: 12px;
                        line-height: 18px;
                        overflow:hidden; 
                        text-overflow:ellipsis;
                        display:-webkit-box; 
                        -webkit-box-orient:vertical;
                        -webkit-line-clamp:2;
                        margin-bottom: 5px; 
                    }
                    >span{
                        display: block;
                        font-size: 18px;
                        margin: 10px 0;
                        color: $c1;
                    }
                    button{
                        display: inline-block;
                        width: 95px;
                        line-height: 32px;
                        text-align: center;

                        color: #fff;
                        border: none;
                        background-color: $c1;
                    }
                }
            }
        }
    }

}


.foot{
    background: #ddd;
    .foot-core{
        text-align: center;
  
        p{
            padding: 14px 0 18px ;
        }
        div{
            display: inline-block;
            margin: 0 auto;
            a{
                width: 126px;
                height: 51px;
                float: left;
                margin: 0 6px;
            }   
            .foot_a1{
                background: url(../images/login_foot.png) no-repeat;
                background-position: left;
            }
            .foot_a2{
                background: url(../images/login_foot.png) no-repeat;
                background-position: -126px;
            }
            .foot_a3{
                background: url(../images/login_foot.png) no-repeat;
                background-position: -252px;
            }
            .foot_a4{
                background: url(../images/login_foot.png) no-repeat;
                background-position: -378px;
            }
            .foot_a5{
                background: url(../images/login_foot.png) no-repeat;
                background-position: -504px;
            }
        }
    }

}
